﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using System.Text.RegularExpressions;
using System.Reflection;
using System.Xml.Serialization;
namespace XYZshell.Game.CardGameEngine
{
	/// <summary>
	/// 游戏类,整个游戏的根
	/// </summary>
	[Serializable]
	public class Game : GameObject
	{
		public Game()
		{
			Players = new List<Player>();
			Desktops = new List<Desktop>();

		}
		/// <summary>
		/// 游戏中的所以玩家
		/// </summary>
		[XmlArrayItem]
		public List<Player> Players
		{
			get;
			set;
		}
		/// <summary>
		/// 游戏中的桌面
		/// </summary>
		[XmlArrayItem]
		public List<Desktop> Desktops
		{
			get;
			set;
		}
		///// <summary>
		///// 游戏中的牌堆
		///// </summary>
		//public  List<Deck> Decks
		//{
		//    get;
		//    set;
		//}


	}
}
